<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Программа представления сигнальной информации в режиме реального времени: Исходный файл /home/student/rostovcev_sergey/program/2024_winter/pk_irpsi_rrv/viewsignal/src/samplingthread.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Программа представления сигнальной информации в режиме реального времени
   &#160;<span id="projectnumber">1</span>
   </div>
   <div id="projectbrief">Программный комплекс имитации регистрации и представления сигнальной информации в режиме реального времени</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Создано системой Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Поиск');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Поиск');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">samplingthread.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="samplingthread_8h.html">См. документацию.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef SAMPLINGTHREAD_H</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define SAMPLINGTHREAD_H</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;</div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &lt;qwt_sampling_thread.h&gt;</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="isi_8h.html">isi.h</a>&quot;</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="signaldata_8h.html">signaldata.h</a>&quot;</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;</div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;</div><div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="class_sampling_thread.html">   15</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_sampling_thread.html">SamplingThread</a> : <span class="keyword">public</span> <a class="code" href="class_qwt_sampling_thread.html">QwtSamplingThread</a></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;{</div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;    Q_OBJECT</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;    <span class="keyword">explicit</span> <a class="code" href="class_sampling_thread.html#a1bfd0bfff45047d8391d0fe23b886035">SamplingThread</a>(<a class="code" href="class_q_object.html">QObject</a> *parent = NULL);</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_sampling_thread.html#ae962061586c5605487a182970317e574">init</a>();</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_sampling_thread.html#aabd246e473e1854c9ca5312b8e8df148">setCountParam</a>(<span class="keyword">const</span> <span class="keywordtype">int</span> countParam);</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_sampling_thread.html#a035242367c4f6f92da1ffb3198b18382">setPath</a>(<span class="keyword">const</span> QString &amp;path);</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_sampling_thread.html#a26568d98cae52b68a1e2deec11c8d2db">setNumConnection</a>(<span class="keywordtype">int</span> numConnetion);</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="class_sampling_thread.html#a6e758c7b8266755c201ca002520f5e2e">stop</a>();</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_sampling_thread.html#a0bd8dc76aa360dc9fef0d3a433ce9a59">sample</a>(<span class="keywordtype">double</span> elapsed);</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;};</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="preprocessor">#endif // SAMPLINGTHREAD_H</span></div><div class="ttc" id="class_sampling_thread_html_a035242367c4f6f92da1ffb3198b18382"><div class="ttname"><a href="class_sampling_thread.html#a035242367c4f6f92da1ffb3198b18382">SamplingThread::setPath</a></div><div class="ttdeci">void setPath(const QString &amp;path)</div><div class="ttdoc">setPath назначить путь к базе данных </div><div class="ttdef"><b>Definition:</b> samplingthread.cpp:22</div></div>
<div class="ttc" id="class_sampling_thread_html_aabd246e473e1854c9ca5312b8e8df148"><div class="ttname"><a href="class_sampling_thread.html#aabd246e473e1854c9ca5312b8e8df148">SamplingThread::setCountParam</a></div><div class="ttdeci">void setCountParam(const int countParam)</div><div class="ttdoc">countParam назначить количество параметров </div><div class="ttdef"><b>Definition:</b> samplingthread.cpp:32</div></div>
<div class="ttc" id="class_sampling_thread_html_a26568d98cae52b68a1e2deec11c8d2db"><div class="ttname"><a href="class_sampling_thread.html#a26568d98cae52b68a1e2deec11c8d2db">SamplingThread::setNumConnection</a></div><div class="ttdeci">void setNumConnection(int numConnetion)</div><div class="ttdoc">setNumConnection назначить номер подключения к базе данных </div><div class="ttdef"><b>Definition:</b> samplingthread.cpp:27</div></div>
<div class="ttc" id="class_sampling_thread_html_a6e758c7b8266755c201ca002520f5e2e"><div class="ttname"><a href="class_sampling_thread.html#a6e758c7b8266755c201ca002520f5e2e">SamplingThread::stop</a></div><div class="ttdeci">void stop()</div><div class="ttdef"><b>Definition:</b> samplingthread.cpp:41</div></div>
<div class="ttc" id="class_qwt_sampling_thread_html"><div class="ttname"><a href="class_qwt_sampling_thread.html">QwtSamplingThread</a></div></div>
<div class="ttc" id="class_sampling_thread_html_a1bfd0bfff45047d8391d0fe23b886035"><div class="ttname"><a href="class_sampling_thread.html#a1bfd0bfff45047d8391d0fe23b886035">SamplingThread::SamplingThread</a></div><div class="ttdeci">SamplingThread(QObject *parent=NULL)</div><div class="ttdef"><b>Definition:</b> samplingthread.cpp:3</div></div>
<div class="ttc" id="class_sampling_thread_html_a0bd8dc76aa360dc9fef0d3a433ce9a59"><div class="ttname"><a href="class_sampling_thread.html#a0bd8dc76aa360dc9fef0d3a433ce9a59">SamplingThread::sample</a></div><div class="ttdeci">virtual void sample(double elapsed)</div><div class="ttdoc">sample метод для создания точки, и передачи её в класс SignalData </div><div class="ttdef"><b>Definition:</b> samplingthread.cpp:8</div></div>
<div class="ttc" id="class_sampling_thread_html_ae962061586c5605487a182970317e574"><div class="ttname"><a href="class_sampling_thread.html#ae962061586c5605487a182970317e574">SamplingThread::init</a></div><div class="ttdeci">void init()</div><div class="ttdoc">init создать новый экземпляр класса SignalData, для чтения/записи данных </div><div class="ttdef"><b>Definition:</b> samplingthread.cpp:37</div></div>
<div class="ttc" id="isi_8h_html"><div class="ttname"><a href="isi_8h.html">isi.h</a></div></div>
<div class="ttc" id="signaldata_8h_html"><div class="ttname"><a href="signaldata_8h.html">signaldata.h</a></div></div>
<div class="ttc" id="class_q_object_html"><div class="ttname"><a href="class_q_object.html">QObject</a></div></div>
<div class="ttc" id="class_sampling_thread_html"><div class="ttname"><a href="class_sampling_thread.html">SamplingThread</a></div><div class="ttdoc">The SamplingThread class класс для создания точек порядок вызова методов 1)setPath() и setCountParam(...</div><div class="ttdef"><b>Definition:</b> samplingthread.h:15</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Создано системой &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
